/** 按钮 */
export default {
    /**
     * 个人管理 - 个人主页-我的主页
     */

    'portal:mine:main:news': {
        name: '公司新闻',
        code: 'portal:mine:main:news'
    },

    'portal:mine:main:notice': {
        name: '通知公告',
        code: 'portal:mine:main:notice'
    },

    'portal:mine:main:rules': {
        name: '规章制度',
        code: 'portal:mine:main:rules'
    },

    'portal:mine:main:undo': {
        name: '待我审批',
        code: 'portal:mine:main:undo'
    },

    'portal:mine:main:done': {
        name: '经我审批',
        code: 'portal:mine:main:done'
    },

    'portal:mine:main:over': {
        name: '待我阅读',
        code: 'portal:mine:main:over'
    },

    'portal:mine:main:schedule': {
        name: '日程',
        code: 'portal:mine:main:schedule'
    },

    'portal:mine:main:hr': {
        name: '人事报表',
        code: 'portal:mine:main:hr'
    },

    'portal:mine:main:hr:distribution': {
        name: '组织分布',
        code: 'portal:mine:main:hr:distribution'
    },

    'portal:mine:main:hr:staffnum': {
        name: '员工数量趋势',
        code: 'portal:mine:main:hr:staffnum'
    },

    /**
     * 个人管理 - 个人主页-公司公告
     */
    'portal:mine:article:notice:detail': {
        name: '查看公告详情',
        code: 'portal:mine:article:notice:detail'
    },

    'portal:mine:article:notice:query': {
        name: '公告管理搜索',
        code: 'portal:mine:article:notice:query'
    },

    'portal:mine:article:notice:delete': {
        name: '删除公告',
        code: 'portal:mine:article:notice:delete'
    },

    'portal:mine:article:notice:add': {
        name: '增加公告',
        code: 'portal:mine:article:notice:add'
    },

    'portal:mine:article:notice:edit': {
        name: '编辑公告',
        code: 'portal:mine:article:notice:edit'
    },
    /**
     * 企业管理- 公告制度 -公告管理（公司公告）
     */

    'office:notice:detail': {
        name: '查看公告详情',
        code: 'office:notice:detail'
    },
    'office:notice:delete': {
        name: '删除公告',
        code: 'office:notice:delete'
    },
    'office:notice:query': {
        name: '公告管理搜索',
        code: 'office:notice:query'
    },
    'office:notice:add': {
        name: '增加公告',
        code: 'office:notice:add'
    },
    'office:notice:edit': {
        name: '编辑公告',
        code: 'office:notice:edit'
    },
    /**
     * 企业管理- 组织架构 -集团/公司架构
     */

    'office:orgs:views:post': {
        name: '职位管理',
        code: 'office:orgs:views:post'
    },

    'office:orgs:views:employee': {
        name: '管理员工',
        code: 'office:orgs:views:employee'
    },

    'office:orgs:views:analyse': {
        name: '人事统计分析',
        code: 'office:orgs:views:analyse'
    },

    'office:orgs:views:company': {
        name: '管理子公司/部门',
        code: 'office:orgs:views:company'
    },

    /**
     * 企业管理- 组织架构 -公司管理
     */
    'office:orgs:company:add': {
        name: '创建公司',
        code: 'office:orgs:company:add'
    },

    'office:orgs:company:edit': {
        name: '编辑公司详情',
        code: 'office:orgs:company:edit'
    },

    'office:orgs:company:detail': {
        name: '公司概况详情',
        code: 'office:orgs:company:detail'
    },

    'office:orgs:company:detail:company': {
        name: '编辑公司信息',
        code: 'office:orgs:company:detail:company'
    },

    'office:orgs:company:detail:employee': {
        name: '管理员工',
        code: 'office:orgs:company:detail:employee'
    },

    /**
     * 企业管理- 组织架构 -员工管理
     */

    'office:orgs:employee:query': {
        name: '查询',
        code: 'office:orgs:employee:query'
    },

    'office:orgs:employee:addDepartment': {
        name: '新增部门',
        code: 'office:orgs:employee:addDepartment'
    },

    'office:orgs:employee:add': {
        name: '新增员工',
        code: 'office:orgs:employee:add'
    },

    'office:orgs:employee:detail': {
        name: '查看员工详情',
        code: 'office:orgs:employee:detail'
    },

    'office:orgs:employee:forbid': {
        name: '禁用员工',
        code: 'office:orgs:employee:forbid'
    },

    'office:orgs:employee:role': {
        name: '角色',
        code: 'office:orgs:employee:role'
    },

    'office:orgs:employee:post': {
        name: '职位',
        code: 'office:orgs:employee:post'
    },

    'office:orgs:employee:status': {
        name: '设置状态',
        code: 'office:orgs:employee:status'
    },

    'office:orgs:employee:department:add': {
        name: '新增部门',
        code: 'office:orgs:employee:department:add'
    },

    'office:orgs:employee:department:edit': {
        name: '编辑部门',
        code: 'office:orgs:employee:department:edit'
    },

    'office:orgs:employee:department:delete': {
        name: '删除部门',
        code: 'office:orgs:employee:department:delete'
    },

    'office:orgs:employee:detail:forbid': {
        name: '禁用系统',
        code: 'office:orgs:employee:detail:forbid'
    },

    'office:orgs:employee:detail:employee': {
        name: '编辑员工信息',
        code: 'office:orgs:employee:detail:employee'
    },

    'office:orgs:employee:detail:password': {
        name: '重置密码',
        code: 'office:orgs:employee:detail:password'
    },

    'office:orgs:employee:detail:post': {
        name: '设置职位角色',
        code: 'office:orgs:employee:detail:post'
    },

    'office:orgs:employee:detail:edit': {
        name: '查看详情',
        code: 'office:orgs:employee:detail:edit'
    },

    'office:orgs:employee:detail:query': {
        name: '考勤情况查询',
        code: 'office:orgs:employee:detail:query'
    },

    /**
     * 企业管理- 组织架构 -角色权限
     */

    'office:orgs:role:query': {
        name: '搜索',
        code: 'system:role:query'
    },

    'office:orgs:role:add': {
        name: '添加角色',
        code: 'system:role:add'
    },

    'office:orgs:role:emlist': {
        name: '查看成员列表',
        code: 'system:role:emlist'
    },

    'office:orgs:role:delete': {
        name: '删除',
        code: 'system:role:delete'
    },

    'office:orgs:role:emlist:delete': {
        name: '成员列表删除',
        code: 'system:role:emlist:delete'
    },

    'office:orgs:role:emlist:detail': {
        name: '成员列表员工详情',
        code: 'system:role:emlist:detail'
    },

    'office:orgs:role:edit': {
        name: '设置',
        code: 'system:role:edit'
    },
    /**
     * 企业管理- 组织架构 -职位管理
     */

    'office:orgs:post:query': {
        name: '搜索',
        code: 'office:orgs:post:query'
    },

    'office:orgs:post:emlist': {
        name: '查看成员列表',
        code: 'office:orgs:post:emlist'
    },

    'office:orgs:post:add': {
        name: '添加职位',
        code: 'office:orgs:post:add'
    },

    'office:orgs:post:edit': {
        name: '修改职位',
        code: 'office:orgs:post:edit'
    },

    'office:orgs:post:delete': {
        name: '删除职位',
        code: 'office:orgs:post:delete'
    },

    'office:orgs:post:emlist:detail': {
        name: '员工详情',
        code: 'office:orgs:post:emlist:detail'
    },

    /**
     * 企业管理- 考勤管理 -出勤记录
     */

    'office:attendance:record:history': {
        name: '打卡记录（顶部按钮）',
        code: 'office:attendance:record:history'
    },

    'office:attendance:record:detail': {
        name: '查看打卡记录（列表中）',
        code: 'office:attendance:record:detail'
    },
    /**
     * 企业管理-考勤管理-假期管理
     */
    'office:attendance:leavetype:save': {
        name: '假期管理添加',
        code: 'office:attendance:leavetype:save'
    },
    'office:attendance:leavetype:edit': {
        name: '假期管理编辑',
        code: 'office:attendance:leavetype:edit'
    },
    'office:attendance:leavetype:delete': {
        name: '假期管理删除',
        code: 'office:attendance:leavetype:delete'
    },
    /**
     * 企业管理-考勤管理-员工假期余额
     */
    'office:attendance:vocation:edit': {
        name: '修改假期余额',
        code: 'office:attendance:vocation:edit'
    },
    'office:attendance:vocation:import': {
        name: '批量发放余额',
        code: 'office:attendance:vocation:import'
    },
    'office:attendance:vocation:export': {
        name: '假期余额列表导出',
        code: 'office:attendance:vocation:export'
    },
    /**
     * 企业管理-考勤管理-导出
     */
    'office:attendance:attend:export': {
        name: '出勤统计导出',
        code: 'office:attendance:attend:export'
    },
    'office:attendance:overtime:export': {
        name: '加班统计导出',
        code: 'office:attendance:overtime:export'
    },
    'office:attendance:leave:export': {
        name: '请假记录导出',
        code: 'office:attendance:leave:export'
    },
    'office:attendance:exception:export': {
        name: '异常记录导出',
        code: 'office:attendance:exception:export'
    },
    'office:attendance:out:export': {
        name: '外出记录导出',
        code: 'office:attendance:out:export'
    },
    'office:attendance:overtimerecord:export': {
        name: '加班记录导出',
        code: 'office:attendance:overtimerecord:export'
    },
    'office:attendance:trip:export': {
        name: '出差记录导出',
        code: 'office:attendance:trip:export'
    },
    'office:attendance:record:export': {
        name: '出勤记录导出',
        code: 'office:attendance:record:export'
    },
    'office:attendance:record:detail:export': {
        name: '打卡详情导出',
        code: 'office:attendance:record:detail:export'
    },
    'office:attendance:overtimerecord:manual': {
        name: '加班手动补录',
        code: 'office:attendance:overtimerecord:manual'
    },
    // 招聘职位管理
    'office:job:recruit:detail': {
        name: '  招聘职位详情',
        code: 'office:job:recruit:detail'
    },
    'office:job:recruit:set': {
        name: '招聘进度设置',
        code: 'office:job:recruit:set'
    },
    'office:job:recruit:detail:set': {
        name: '  招聘进度设置',
        code: 'office:job:recruit:detail:set'
    },
    // 候选人管理
    'office:job:candidate:add': {
        name: '  添加候选人',
        code: 'office:job:candidate:add'
    },
    // 人才库
    'office:job:talent:add': {
        name: '添加人才库',
        code: 'office:job:talent:add'
    },
    'office:job:talent:edit': {
        name: '人才库编辑',
        code: 'office:job:talent:edit'
    },
    'office:job:talent:detail': {
        name: '人才库详情',
        code: 'office:job:talent:detail'
    },
    'office:job:talent:detail:edit': {
        name: '人才库详情编辑',
        code: 'office:job:talent:detail:edit'
    },
    'office:job:talent:detail:addjob': {
        name: '添加应聘职位',
        code: 'office:job:talent:detail:addjob'
    },
    'portal:myflow:approvelist:proxy': {
        name: '流程代理设置',
        code: 'portal:myflow:approvelist:proxy'
    },
    /**
     * 新闻-招聘管理
     */
    'office:web:recruit:edit': {
        name: '招聘管理-编辑',
        code: 'office:web:recruit:edit'
    },
    'office:web:recruit:set': {
        name: '招聘管理-设置',
        code: 'office:web:recruit:set'
    },
    'office:web:recruit:delete': {
        name: '招聘管理-删除',
        code: 'office:web:recruit:delete'
    },
    'office:web:recruit:add': {
        name: '招聘管理-添加职位',
        code: 'office:web:recruit:add'
    },
    'office:web:recruit:sort': {
        name: '招聘管理-排序',
        code: 'office:web:recruit:sort'
    },
    /**
     * 新闻-新闻管理
     */
    'office:web:news:edit': {
        name: '新闻管理-编辑',
        code: 'office:web:news:edit'
    },
    'office:web:news:detail:set': {
        name: '新闻管理-设置',
        code: 'office:web:news:detail:set'
    },
    'office:web:news:add': {
        name: '新闻管理-发起',
        code: 'office:web:news:add'
    },
    'office:web:news:detail': {
        name: '新闻管理-详情',
        code: 'office:web:news:detail'
    },
    'office:web:news:top': {
        name: '新闻管理-置顶',
        code: 'office:web:news:top'
    },
    'office:web:news:detail:reset': {
        name: '新闻管理-重新编辑',
        code: 'office:web:news:detail:reset'
    },
    /**
     * 企业管理-规章制度
     */
    'office:institutions:save': {
        name: '制度发布申请',
        code: 'office:institutions:save'
    },
    'office:institutions:detail': {
        name: '制度详情',
        code: 'office:institutions:detail'
    },
    'office:institutions:setTime': {
        name: '设置生效日期',
        code: 'office:institutions:setTime'
    },
    /**
     * 企业管理-调岗管理
     */
    'office:personnel:progress:transferpost:detail': {
        name: '调岗详情',
        code: 'office:personnel:progress:transferpost:detail'
    },
    'office:personnel:progress:transferpost:history': {
        name: '调岗历史记录',
        code: 'office:personnel:progress:transferpost:history'
    },
    /**
     * 企业管理-转正管理
     */
    'office:personnel:progress:regular:detail': {
        name: '转正详情',
        code: 'office:personnel:progress:regular:detail'
    },
    'office:personnel:progress:regular:history': {
        name: '转正历史记录',
        code: 'office:personnel:progress:regular:history'
    },
    /**
     * 企业管理-离职管理
     */
    'office:personnel:progress:leaveoffice:detail': {
        name: '离职详情',
        code: 'office:personnel:progress:leaveoffice:detail'
    },
    'office:personnel:progress:leaveoffice:history': {
        name: '查看最近离职的人',
        code: 'office:personnel:progress:leaveoffice:history'
    },
    'office:personnel:progress:leaveoffice:add': {
        name: '办理离职',
        code: 'office:personnel:progress:leaveoffice:add'
    },
    /**
     * 规则配置管理
     */
    'system:ruleconfig:detail': {
        name: '查看规则配置',
        code: 'system:ruleconfig:detail'
    },
    'system:ruleconfig:edit': {
        name: '编辑规则配置',
        code: 'system:ruleconfig:edit'
    },
    /**
     * 数据管理
     */
    'system:data:salary:download': {
        name: '下载模板',
        code: 'system:data:salary:download'
    },
    'system:data:salary:upload': {
        name: '导入数据',
        code: 'system:data:salary:upload'
    },
    'system:data:post:download': {
        name: '下载模板',
        code: 'system:data:post:download'
    },
    'system:data:post:upload': {
        name: '导入数据',
        code: 'system:data:post:upload'
    }
};
